﻿Imports System.Web
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.ComponentModel


Namespace Dominio
    Public Class Telefono
#Region "Variables"

        Private _TelefonoID As Long
        Private _Numero As String
        Private _TipoTelefono As ETipoTelefono
#End Region

#Region "Propiedades"
        Public Overridable Property TelefonoID() As Long
            Get
                Return _TelefonoID
            End Get
            Set(ByVal value As Long)
                _TelefonoID = value
            End Set
        End Property

        Public Overridable Property Numero() As String
            Get
                Return _Numero
            End Get
            Set(ByVal value As String)
                _Numero = value
            End Set
        End Property

        Public Overridable Property TipoTelefono() As ETipoTelefono
            Get
                Return _TipoTelefono
            End Get
            Set(ByVal value As ETipoTelefono)
                _TipoTelefono = value
            End Set
        End Property
#End Region

#Region "Metodos"
        'Public Overridable Function getByID() As Telefono
        '    'Me.Telefono = 1
        '    'Dim oUsuarioPersistencia As New UsuarioPersistencia
        '    'Return oUsuarioPersistencia.GetById(Me)
        'End Function

        'Public Overridable Function getAll() As IList(Of Telefono)
        '    'Me.Telefono = 1
        '    'Dim oUsuarioPersistencia As New UsuarioPersistencia
        '    'Return oUsuarioPersistencia.GetById(Me)
        'End Function
#End Region
    End Class
End Namespace

